package b.b.a.b;

import b.b.a.b.b;
import java.util.HashMap;
import java.util.Map;

public class a<K, V> extends b<K, V> {
    private HashMap<K, b.c<K, V>> f = new HashMap<>();

    /* access modifiers changed from: protected */
    public b.c<K, V> c(K k) {
        return this.f.get(k);
    }

    public boolean contains(K k) {
        return this.f.containsKey(k);
    }

    public V g(K k, V v) {
        b.c c2 = c(k);
        if (c2 != null) {
            return c2.f1148c;
        }
        this.f.put(k, f(k, v));
        return null;
    }

    public V h(K k) {
        V h = super.h(k);
        this.f.remove(k);
        return h;
    }

    public Map.Entry<K, V> i(K k) {
        if (contains(k)) {
            return this.f.get(k).e;
        }
        return null;
    }
}
